<%@ page import="dropouts.Customer" %>



<div class="fieldcontain ${hasErrors(bean: customerInstance, field: 'contacted', 'error')} ">
	<label for="contacted">
		<g:message code="customer.contacted.label" default="Contacted" />
		
	</label>
	<g:textField name="contacted" value="${customerInstance?.contacted}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: customerInstance, field: 'quotation', 'error')} ">
	<label for="quotation">
		<g:message code="customer.quotation.label" default="Quotation" />
		
	</label>
	
<ul class="one-to-many">
<g:each in="${customerInstance?.quotation?}" var="q">
    <li><g:link controller="quotation" action="show" id="${q.id}">${q?.encodeAsHTML()}</g:link></li>
</g:each>
<li class="add">
<g:link controller="quotation" action="create" params="['customer.id': customerInstance?.id]">${message(code: 'default.add.label', args: [message(code: 'quotation.label', default: 'Quotation')])}</g:link>
</li>
</ul>

</div>

